package com.zkt.auth.domain.convert;

import com.zkt.auth.domain.entity.AuthPermissionBO;
import com.zkt.auth.infra.basic.entity.AuthPermission;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author 赵开泰
 * @program jc-club
 * @date 2024/10/5
 * @description 权限的实体类型转换器
 **/

@Mapper
public interface AuthPermissionConverter {
	
	AuthPermissionConverter INSTANCE = Mappers.getMapper(AuthPermissionConverter.class);
	
	AuthPermission convertBoToAuthPermission(AuthPermissionBO authPermissionBO);
	
}
